package cn.group01.git.mapper;

import cn.group01.git.entity.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupplierMapper {
    List<Supplier> supList();

    Supplier getByName(String supName);

    List<Supplier> getList(String supName);

    void addSupplier(Supplier supplier);

    Supplier getById(Integer supId);

    void editSupplier(Supplier supplier);

    void delete(@Param("ids") Integer[] ids);

    Supplier getSupplierByName(String supplierName);
}
